package com.shop.action;

import com.shop.entity.User;


public class Ajax2Action {

	private User user;
	private String name;
	
	public String showJson() {
		user = new User();
		user.setId(String.valueOf(1001));
		//user.setPassword("000000");
		user.setUsername("tom");
		
		name = "Alex";
		
		return "success";
	}
	
	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
}
